package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.math.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-27
 */
@ApiModel(value = "检验申请表")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("LAB_APPLICATION")
public class LabApplication implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "检验申请his主键")
    @TableId("LAB_APPLICATION_ID")
    private String labApplicationId;

    @ApiModelProperty(value = "病人基本信息主键")
    @ExcelProperty(value = "PATIENT_INFO_ID")
    @TableField("PATIENT_INFO_ID")
    private String patientInfoId;

    @ApiModelProperty(value = "门诊号")
    @ExcelProperty(value = "OUTPATIENT_ID")
    @TableField("OUTPATIENT_ID")
        private String outpatientId;

    @ApiModelProperty(value = "住院号")
    @ExcelProperty(value = "INPATIENT_ID")
    @TableField("INPATIENT_ID")
        private String inpatientId;

    @ApiModelProperty(value = "申请号")
    @ExcelProperty(value = "APPLICATION_NO")
    @TableField("APPLICATION_NO")
        private String applicationNo;

    @ApiModelProperty(value = "医嘱号")
    @ExcelProperty(value = "ORDER_NO")
    @TableField("ORDER_NO")
        private String orderNo;

    @ApiModelProperty(value = "检验类型编码")
    @ExcelProperty(value = "LAB_TYPE_CODE")
    @TableField("LAB_TYPE_CODE")
        private String labTypeCode;

    @ApiModelProperty(value = "检验类型名称")
    @ExcelProperty(value = "LAB_TYPE_NAME")
    @TableField("LAB_TYPE_NAME")
        private String labTypeName;

    @ApiModelProperty(value = "检验项目编码")
    @ExcelProperty(value = "ITEM_CODE")
    @TableField("ITEM_CODE")
        private String itemCode;

    @ApiModelProperty(value = "检验项目名称")
    @ExcelProperty(value = "ITEM_NAME")
    @TableField("ITEM_NAME")
        private String itemName;

    @ApiModelProperty(value = "检验方法")
    @ExcelProperty(value = "LAB_METHOD")
    @TableField("LAB_METHOD")
        private String labMethod;

    @ApiModelProperty(value = "检验描述编码")
    @ExcelProperty(value = "LAB_DESCRIPTION_CODE")
    @TableField("LAB_DESCRIPTION_CODE")
        private String labDescriptionCode;

    @ApiModelProperty(value = "检验描述名称")
    @ExcelProperty(value = "LAB_DESCRIPTION_NAME")
    @TableField("LAB_DESCRIPTION_NAME")
        private String labDescriptionName;

    @ApiModelProperty(value = "申请原因")
    @ExcelProperty(value = "APPLICATION_REASON")
    @TableField("APPLICATION_REASON")
        private String applicationReason;

    @ApiModelProperty(value = "标本号")
    @ExcelProperty(value = "SAMPLE_NO")
    @TableField("SAMPLE_NO")
        private String sampleNo;

    @ApiModelProperty(value = "标本类型编码")
    @ExcelProperty(value = "SAMPLE_TYPE_CODE")
    @TableField("SAMPLE_TYPE_CODE")
        private String sampleTypeCode;

    @ApiModelProperty(value = "标本类型名称")
    @ExcelProperty(value = "SAMPLE_TYPE_NAME")
    @TableField("SAMPLE_TYPE_NAME")
        private String sampleTypeName;

    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "MEMO")
    @TableField("MEMO")
        private String memo;

    @ApiModelProperty(value = "检验状态代码")
    @ExcelProperty(value = "STATUS_CODE")
    @TableField("STATUS_CODE")
        private String statusCode;

    @ApiModelProperty(value = "检验状态名称")
    @ExcelProperty(value = "STATUS_NAME")
    @TableField("STATUS_NAME")
        private String statusName;

    @ApiModelProperty(value = "申请时间")
    @ExcelProperty(value = "INPUT_TIME")
    @TableField("INPUT_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inputTime;

    @ApiModelProperty(value = "申请医生编码")
    @ExcelProperty(value = "INPUT_DOCTOR_CODE")
    @TableField("INPUT_DOCTOR_CODE")
        private String inputDoctorCode;

    @ApiModelProperty(value = "申请医生名称")
    @ExcelProperty(value = "INPUT_DOCTOR_NAME")
    @TableField("INPUT_DOCTOR_NAME")
        private String inputDoctorName;

    @ApiModelProperty(value = "申请科室编码")
    @ExcelProperty(value = "INPUT_DEPT_CODE")
    @TableField("INPUT_DEPT_CODE")
        private String inputDeptCode;

    @ApiModelProperty(value = "申请科室名称")
    @ExcelProperty(value = "INPUT_DEPT_NAME")
    @TableField("INPUT_DEPT_NAME")
        private String inputDeptName;

    @ApiModelProperty(value = "申请病区编码")
    @ExcelProperty(value = "INPUT_WARD_CODE")
    @TableField("INPUT_WARD_CODE")
        private String inputWardCode;

    @ApiModelProperty(value = "申请病区名称")
    @ExcelProperty(value = "INPUT_WARD_NAME")
    @TableField("INPUT_WARD_NAME")
        private String inputWardName;

    @ApiModelProperty(value = "确认时间")
    @ExcelProperty(value = "CONFIRM_TIME")
    @TableField("CONFIRM_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime confirmTime;

    @ApiModelProperty(value = "确认人编码")
    @ExcelProperty(value = "CONFIRM_PERSON_CODE")
    @TableField("CONFIRM_PERSON_CODE")
        private String confirmPersonCode;

    @ApiModelProperty(value = "确认人名称")
    @ExcelProperty(value = "CONFIRM_PERSON_NAME")
    @TableField("CONFIRM_PERSON_NAME")
        private String confirmPersonName;

    @ApiModelProperty(value = "撤销/停止时间")
    @ExcelProperty(value = "CANCEL_TIME")
    @TableField("CANCEL_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime cancelTime;

    @ApiModelProperty(value = "撤销/停止人编码")
    @ExcelProperty(value = "CANCEL_PERSON_CODE")
    @TableField("CANCEL_PERSON_CODE")
        private String cancelPersonCode;

    @ApiModelProperty(value = "撤销/停止人名称")
    @ExcelProperty(value = "CANCEL_PERSON_NAME")
    @TableField("CANCEL_PERSON_NAME")
        private String cancelPersonName;

    @ApiModelProperty(value = "执行时间")
    @ExcelProperty(value = "EXECUTE_TIME")
    @TableField("EXECUTE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime executeTime;

    @ApiModelProperty(value = "执行科室编码")
    @ExcelProperty(value = "EXECUTE_DEPT_CODE")
    @TableField("EXECUTE_DEPT_CODE")
        private String executeDeptCode;

    @ApiModelProperty(value = "执行科室名称")
    @ExcelProperty(value = "EXECUTE_DEPT_NAME")
    @TableField("EXECUTE_DEPT_NAME")
        private String executeDeptName;

    @ApiModelProperty(value = "执行人编码")
    @ExcelProperty(value = "EXECUTE_PERSON_CODE")
    @TableField("EXECUTE_PERSON_CODE")
        private String executePersonCode;

    @ApiModelProperty(value = "执行人名称")
    @ExcelProperty(value = "EXECUTE_PERSON_NAME")
    @TableField("EXECUTE_PERSON_NAME")
        private String executePersonName;

    @ApiModelProperty(value = "费用状态编码")
    @ExcelProperty(value = "CHARGE_STATUS_CODE")
    @TableField("CHARGE_STATUS_CODE")
        private String chargeStatusCode;

    @ApiModelProperty(value = "费用状态名称")
    @ExcelProperty(value = "CHARGE_STATUS_NAME")
    @TableField("CHARGE_STATUS_NAME")
        private String chargeStatusName;

    @ApiModelProperty(value = "是否加急")
    @ExcelProperty(value = "EMERGENCY_FLAG")
    @TableField("EMERGENCY_FLAG")
        private String emergencyFlag;

    @ApiModelProperty(value = "是否皮试")
    @ExcelProperty(value = "SKIN_TEST_FLAG")
    @TableField("SKIN_TEST_FLAG")
        private String skinTestFlag;

    @ApiModelProperty(value = "是否药观")
    @ExcelProperty(value = "OBSERVATION_FLAG")
    @TableField("OBSERVATION_FLAG")
        private String observationFlag;

    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ExcelProperty(value = "UPDATE_TIME")
    @TableField("UPDATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "UPDATE_COUNT")
    @TableField("UPDATE_COUNT")
        private BigDecimal updateCount;

    @ExcelProperty(value = "UPDATE_BY")
    @TableField("UPDATE_BY")
        private String updateBy;

    @ExcelProperty(value = "DELETE_TIME")
    @TableField("DELETE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deleteTime;

    @ExcelProperty(value = "DELETE_BY")
    @TableField("DELETE_BY")
        private String deleteBy;

    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;

    @ApiModelProperty(value = "就诊类型编码")
    @ExcelProperty(value = "VISIT_TYPE_CODE")
    @TableField("VISIT_TYPE_CODE")
        private String visitTypeCode;

    @ApiModelProperty(value = "来源")
    @ExcelProperty(value = "LOCAL_SYSTEM_NAME")
    @TableField("LOCAL_SYSTEM_NAME")
        private String localSystemName;



}
